var os =require('os');
var str="aa";
var tt="";
console.log('endianness:'+os.endianness());
console.log('type:'+os.type());
console.log('platform:'+os.platform());
// console.log('total memory:'+os.totalmem()+'bytes');
// console.log('total memory:'+os.totalmem()/1024+'KB');
// console.log('total memory:'+os.totalmem()/1024/1024+'MB');
console.log('total memory:'+os.totalmem()/1024/1024/1024+'GB');
console.log('free memory:'+os.freemem()+'bytes');
console.log('uptime:'+os.uptime()+'s');
console.log('uptime:'+os.uptime()/60/60/24+'day');

//console.log(os.networkInterfaces());
console.log('EOL:'+os.EOL);